package com.binge.spring.aop.service;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Data
@Slf4j
@Service
public class AopServiceA {

    private AopDaoA aopDaoA;

    @Transactional
    public List<String> queryAll() {
        return aopDaoA.queryAll();
    }

}
